what is okfn?
netfilter-devel,hi!
who can tell me where is okfn defined ? and how it works? I found it in the netfilter.h.
Regards
Fangweiwei
[email protected]
2003-12-03
Quoted 2 lines · Fangweiwei
netfilter-devel£¬hi£¡
who can tell me where is okfn defined ? and how it works? I found it in thenetfilter.h.
There is several. Any specific use of okfn in netfilter.h you refer to?
In all cases okfn is a pointer to the function which will be called when the operation is completed sucessfully. The actual pointer is given by the caller. For example the okfn sent to netfilter hooks is given by the hook in the kernel telling netfilter where the kernel wishes to continue when netfilter has done it's job..
Regards
Henrik